package com.gxa.hualian.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
@Data
@AllArgsConstructor
@NoArgsConstructor

public class Coupon {
    private Integer id;
    private String name;
    private String desc;
    private String img;
    private String role;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp collectExp;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp usedExp;
    private Boolean inUse;


}
